# https://www.bilibili.com/video/BV1W7411G7wP/?p=22&spm_id_from=pageDriver&vd_source=8bd7b24b38e3e12c558d839b352b32f4
# 22. 面试工作中的重点（读取CSV、TSV、TXT）
import pandas as pd

# csv
students_csv = pd.read_csv('../resources/input_py_tools/022/Students.csv', index_col='ID')
print('csv==============================================')
print(students_csv)

# tsv
students_tsv = pd.read_csv('../resources/input_py_tools/022/Students.tsv', index_col='ID', sep='\t')
print('tsv==============================================')
print(students_tsv)

# txt
students_txt = pd.read_csv('../resources/input_py_tools/022/Students.txt', index_col='ID', sep='|')
print('txt==============================================')
print(students_txt)